{% load static %}
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <link rel="icon" href="{% static 'account/img/logo.png' %}" type="image/x-icon">
    <title>微博当前热搜</title>
    <style type="text/css">
        body {
            font-family: monospace;
        }

        div.LN_area {

            height: 250px;
        }

        #myInput {
            /* Style */
            color: #000;
            background: #FFF;
            border: 1px solid grey;

            /* Functionality */
            padding-top: 0.25rem;
            height: 240px;
        }
        textarea{
            width: 95%;
            resize: none;
            line-height: normal !important;
            height: 100% !important;
        }
    </style>
</head>
<body>
<h1 align="center"><strong>微博当前热搜</strong></h1>
<div>
    <textarea id="myInput">{{ result }}</textarea>
</div>

<script type="text/javascript" src="{% static 'account/js/show.js' %}"></script>
<script type="text/javascript">
    var input = document.getElementById("myInput");

    LNPrefix(input);
    input.addEventListener("input", LNPrefix.bind(this, input));
</script>
</body>
</html>

